<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Model_admin extends MY_Model { 
	function __construct() {
		parent::__construct();
	}

	function login($data = false)
	{
		if(empty($data)){
			return false;
		}
		return $this->db->get_where('user', $data)->row_array();
	}
}